<#include "../layout/main.html">
<@layout>
<!-- 主体部分开始 -->
<div class="layui-fluid">
    <div class="layui-card">
        <div class="layui-card-body">
            <!-- 内容区 -->
            <!-- 功能操作区一 -->
            <div class="layui-form toolbar">
                <div class="layui-form-item">
                    <div class="layui-inline">
                        <form class="layui-form">
                            <div class="layui-inline">
                                <!--<label class="layui-form-label" style="width:50px;">筛选</label>-->
                                <div class="layui-input-block" >
                                    <select name="usertitle" lay-filter="usertitle" id="usertitle" >
                                        <option value="">所有</option>
                                        <#list brokerEnum as plist>
                                        <option value="${plist.getCode()}">${plist.getName()}</option>
                                        </#list>
                                    </select>
                                </div>
                            </div>
                            <div class="layui-input-inline">
                                <input type="text" name="keywords" placeholder="工号/姓名/手机号" autocomplete="off" class="layui-input">
                            </div>
                            <button class="layui-btn" lay-submit="" lay-filter="searchForm"><i class="layui-icon">&#xe615;</i>查询</button>
                        </form>
                    </div>
                </div>
            </div>

            <!-- TABLE渲染区 -->
            <table class="layui-hide" id="tableList" lay-filter="tableList"></table>
            <!-- 状态 -->
            <script type="text/html" id="statusTpl">
                <input type="checkbox" name="status" value="{{ d.brokerid }}" lay-skin="switch" lay-text="是|否" lay-filter="status" {{ d.netBroker == 1 ? 'checked' : '' }} >
            </script>
            <!-- 操作功能区二 -->
            <script type="text/html" id="toolBar">
                <a class="layui-btn layui-btn-xs btnEdit" lay-event="edit"><i class="layui-icon">&#xe642;</i>编辑</a>
                <a class="layui-btn layui-btn-danger layui-btn-xs btnDel" lay-event="del"><i class="layui-icon">&#xe640;</i>删除</a>
            </script>



        </div>
    </div>
</div>
<!-- 主体部分结束 -->
</@layout>
